package Java9_11;

import java.text.SimpleDateFormat;
import java.util.Calendar;

public class Work5 {
    public static void main(String[] args) {
        SimpleDateFormat s = new SimpleDateFormat("E");
        Calendar calendar = Calendar.getInstance();
        calendar.set(2021, 10, 1);
        System.out.println(s.format(calendar.getTime()));
    }
}
